package ylsb.model;

import java.util.ArrayList;
import java.util.List;

public class PinpaiguanlianExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PinpaiguanlianExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andShengchanshangIsNull() {
            addCriterion("shengchanshang is null");
            return (Criteria) this;
        }

        public Criteria andShengchanshangIsNotNull() {
            addCriterion("shengchanshang is not null");
            return (Criteria) this;
        }

        public Criteria andShengchanshangEqualTo(String value) {
            addCriterion("shengchanshang =", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangNotEqualTo(String value) {
            addCriterion("shengchanshang <>", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangGreaterThan(String value) {
            addCriterion("shengchanshang >", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangGreaterThanOrEqualTo(String value) {
            addCriterion("shengchanshang >=", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangLessThan(String value) {
            addCriterion("shengchanshang <", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangLessThanOrEqualTo(String value) {
            addCriterion("shengchanshang <=", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangLike(String value) {
            addCriterion("shengchanshang like", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangNotLike(String value) {
            addCriterion("shengchanshang not like", value, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangIn(List<String> values) {
            addCriterion("shengchanshang in", values, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangNotIn(List<String> values) {
            addCriterion("shengchanshang not in", values, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangBetween(String value1, String value2) {
            addCriterion("shengchanshang between", value1, value2, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andShengchanshangNotBetween(String value1, String value2) {
            addCriterion("shengchanshang not between", value1, value2, "shengchanshang");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoIsNull() {
            addCriterion("pinzhongxuhao is null");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoIsNotNull() {
            addCriterion("pinzhongxuhao is not null");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoEqualTo(String value) {
            addCriterion("pinzhongxuhao =", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoNotEqualTo(String value) {
            addCriterion("pinzhongxuhao <>", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoGreaterThan(String value) {
            addCriterion("pinzhongxuhao >", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoGreaterThanOrEqualTo(String value) {
            addCriterion("pinzhongxuhao >=", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoLessThan(String value) {
            addCriterion("pinzhongxuhao <", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoLessThanOrEqualTo(String value) {
            addCriterion("pinzhongxuhao <=", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoLike(String value) {
            addCriterion("pinzhongxuhao like", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoNotLike(String value) {
            addCriterion("pinzhongxuhao not like", value, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoIn(List<String> values) {
            addCriterion("pinzhongxuhao in", values, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoNotIn(List<String> values) {
            addCriterion("pinzhongxuhao not in", values, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoBetween(String value1, String value2) {
            addCriterion("pinzhongxuhao between", value1, value2, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongxuhaoNotBetween(String value1, String value2) {
            addCriterion("pinzhongxuhao not between", value1, value2, "pinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingIsNull() {
            addCriterion("pinzhongming is null");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingIsNotNull() {
            addCriterion("pinzhongming is not null");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingEqualTo(String value) {
            addCriterion("pinzhongming =", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingNotEqualTo(String value) {
            addCriterion("pinzhongming <>", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingGreaterThan(String value) {
            addCriterion("pinzhongming >", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingGreaterThanOrEqualTo(String value) {
            addCriterion("pinzhongming >=", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingLessThan(String value) {
            addCriterion("pinzhongming <", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingLessThanOrEqualTo(String value) {
            addCriterion("pinzhongming <=", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingLike(String value) {
            addCriterion("pinzhongming like", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingNotLike(String value) {
            addCriterion("pinzhongming not like", value, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingIn(List<String> values) {
            addCriterion("pinzhongming in", values, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingNotIn(List<String> values) {
            addCriterion("pinzhongming not in", values, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingBetween(String value1, String value2) {
            addCriterion("pinzhongming between", value1, value2, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinzhongmingNotBetween(String value1, String value2) {
            addCriterion("pinzhongming not between", value1, value2, "pinzhongming");
            return (Criteria) this;
        }

        public Criteria andPinpaiIsNull() {
            addCriterion("pinpai is null");
            return (Criteria) this;
        }

        public Criteria andPinpaiIsNotNull() {
            addCriterion("pinpai is not null");
            return (Criteria) this;
        }

        public Criteria andPinpaiEqualTo(String value) {
            addCriterion("pinpai =", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiNotEqualTo(String value) {
            addCriterion("pinpai <>", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiGreaterThan(String value) {
            addCriterion("pinpai >", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiGreaterThanOrEqualTo(String value) {
            addCriterion("pinpai >=", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiLessThan(String value) {
            addCriterion("pinpai <", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiLessThanOrEqualTo(String value) {
            addCriterion("pinpai <=", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiLike(String value) {
            addCriterion("pinpai like", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiNotLike(String value) {
            addCriterion("pinpai not like", value, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiIn(List<String> values) {
            addCriterion("pinpai in", values, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiNotIn(List<String> values) {
            addCriterion("pinpai not in", values, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiBetween(String value1, String value2) {
            addCriterion("pinpai between", value1, value2, "pinpai");
            return (Criteria) this;
        }

        public Criteria andPinpaiNotBetween(String value1, String value2) {
            addCriterion("pinpai not between", value1, value2, "pinpai");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoIsNull() {
            addCriterion("cipinzhongxuhao is null");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoIsNotNull() {
            addCriterion("cipinzhongxuhao is not null");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoEqualTo(String value) {
            addCriterion("cipinzhongxuhao =", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoNotEqualTo(String value) {
            addCriterion("cipinzhongxuhao <>", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoGreaterThan(String value) {
            addCriterion("cipinzhongxuhao >", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoGreaterThanOrEqualTo(String value) {
            addCriterion("cipinzhongxuhao >=", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoLessThan(String value) {
            addCriterion("cipinzhongxuhao <", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoLessThanOrEqualTo(String value) {
            addCriterion("cipinzhongxuhao <=", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoLike(String value) {
            addCriterion("cipinzhongxuhao like", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoNotLike(String value) {
            addCriterion("cipinzhongxuhao not like", value, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoIn(List<String> values) {
            addCriterion("cipinzhongxuhao in", values, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoNotIn(List<String> values) {
            addCriterion("cipinzhongxuhao not in", values, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoBetween(String value1, String value2) {
            addCriterion("cipinzhongxuhao between", value1, value2, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongxuhaoNotBetween(String value1, String value2) {
            addCriterion("cipinzhongxuhao not between", value1, value2, "cipinzhongxuhao");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingIsNull() {
            addCriterion("cipinzhongming is null");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingIsNotNull() {
            addCriterion("cipinzhongming is not null");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingEqualTo(String value) {
            addCriterion("cipinzhongming =", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingNotEqualTo(String value) {
            addCriterion("cipinzhongming <>", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingGreaterThan(String value) {
            addCriterion("cipinzhongming >", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingGreaterThanOrEqualTo(String value) {
            addCriterion("cipinzhongming >=", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingLessThan(String value) {
            addCriterion("cipinzhongming <", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingLessThanOrEqualTo(String value) {
            addCriterion("cipinzhongming <=", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingLike(String value) {
            addCriterion("cipinzhongming like", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingNotLike(String value) {
            addCriterion("cipinzhongming not like", value, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingIn(List<String> values) {
            addCriterion("cipinzhongming in", values, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingNotIn(List<String> values) {
            addCriterion("cipinzhongming not in", values, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingBetween(String value1, String value2) {
            addCriterion("cipinzhongming between", value1, value2, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinzhongmingNotBetween(String value1, String value2) {
            addCriterion("cipinzhongming not between", value1, value2, "cipinzhongming");
            return (Criteria) this;
        }

        public Criteria andCipinpaiIsNull() {
            addCriterion("cipinpai is null");
            return (Criteria) this;
        }

        public Criteria andCipinpaiIsNotNull() {
            addCriterion("cipinpai is not null");
            return (Criteria) this;
        }

        public Criteria andCipinpaiEqualTo(String value) {
            addCriterion("cipinpai =", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiNotEqualTo(String value) {
            addCriterion("cipinpai <>", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiGreaterThan(String value) {
            addCriterion("cipinpai >", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiGreaterThanOrEqualTo(String value) {
            addCriterion("cipinpai >=", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiLessThan(String value) {
            addCriterion("cipinpai <", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiLessThanOrEqualTo(String value) {
            addCriterion("cipinpai <=", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiLike(String value) {
            addCriterion("cipinpai like", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiNotLike(String value) {
            addCriterion("cipinpai not like", value, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiIn(List<String> values) {
            addCriterion("cipinpai in", values, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiNotIn(List<String> values) {
            addCriterion("cipinpai not in", values, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiBetween(String value1, String value2) {
            addCriterion("cipinpai between", value1, value2, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andCipinpaiNotBetween(String value1, String value2) {
            addCriterion("cipinpai not between", value1, value2, "cipinpai");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andText1IsNull() {
            addCriterion("text1 is null");
            return (Criteria) this;
        }

        public Criteria andText1IsNotNull() {
            addCriterion("text1 is not null");
            return (Criteria) this;
        }

        public Criteria andText1EqualTo(String value) {
            addCriterion("text1 =", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1NotEqualTo(String value) {
            addCriterion("text1 <>", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1GreaterThan(String value) {
            addCriterion("text1 >", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1GreaterThanOrEqualTo(String value) {
            addCriterion("text1 >=", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1LessThan(String value) {
            addCriterion("text1 <", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1LessThanOrEqualTo(String value) {
            addCriterion("text1 <=", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1Like(String value) {
            addCriterion("text1 like", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1NotLike(String value) {
            addCriterion("text1 not like", value, "text1");
            return (Criteria) this;
        }

        public Criteria andText1In(List<String> values) {
            addCriterion("text1 in", values, "text1");
            return (Criteria) this;
        }

        public Criteria andText1NotIn(List<String> values) {
            addCriterion("text1 not in", values, "text1");
            return (Criteria) this;
        }

        public Criteria andText1Between(String value1, String value2) {
            addCriterion("text1 between", value1, value2, "text1");
            return (Criteria) this;
        }

        public Criteria andText1NotBetween(String value1, String value2) {
            addCriterion("text1 not between", value1, value2, "text1");
            return (Criteria) this;
        }

        public Criteria andText2IsNull() {
            addCriterion("text2 is null");
            return (Criteria) this;
        }

        public Criteria andText2IsNotNull() {
            addCriterion("text2 is not null");
            return (Criteria) this;
        }

        public Criteria andText2EqualTo(String value) {
            addCriterion("text2 =", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2NotEqualTo(String value) {
            addCriterion("text2 <>", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2GreaterThan(String value) {
            addCriterion("text2 >", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2GreaterThanOrEqualTo(String value) {
            addCriterion("text2 >=", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2LessThan(String value) {
            addCriterion("text2 <", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2LessThanOrEqualTo(String value) {
            addCriterion("text2 <=", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2Like(String value) {
            addCriterion("text2 like", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2NotLike(String value) {
            addCriterion("text2 not like", value, "text2");
            return (Criteria) this;
        }

        public Criteria andText2In(List<String> values) {
            addCriterion("text2 in", values, "text2");
            return (Criteria) this;
        }

        public Criteria andText2NotIn(List<String> values) {
            addCriterion("text2 not in", values, "text2");
            return (Criteria) this;
        }

        public Criteria andText2Between(String value1, String value2) {
            addCriterion("text2 between", value1, value2, "text2");
            return (Criteria) this;
        }

        public Criteria andText2NotBetween(String value1, String value2) {
            addCriterion("text2 not between", value1, value2, "text2");
            return (Criteria) this;
        }

        public Criteria andText3IsNull() {
            addCriterion("text3 is null");
            return (Criteria) this;
        }

        public Criteria andText3IsNotNull() {
            addCriterion("text3 is not null");
            return (Criteria) this;
        }

        public Criteria andText3EqualTo(String value) {
            addCriterion("text3 =", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3NotEqualTo(String value) {
            addCriterion("text3 <>", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3GreaterThan(String value) {
            addCriterion("text3 >", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3GreaterThanOrEqualTo(String value) {
            addCriterion("text3 >=", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3LessThan(String value) {
            addCriterion("text3 <", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3LessThanOrEqualTo(String value) {
            addCriterion("text3 <=", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3Like(String value) {
            addCriterion("text3 like", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3NotLike(String value) {
            addCriterion("text3 not like", value, "text3");
            return (Criteria) this;
        }

        public Criteria andText3In(List<String> values) {
            addCriterion("text3 in", values, "text3");
            return (Criteria) this;
        }

        public Criteria andText3NotIn(List<String> values) {
            addCriterion("text3 not in", values, "text3");
            return (Criteria) this;
        }

        public Criteria andText3Between(String value1, String value2) {
            addCriterion("text3 between", value1, value2, "text3");
            return (Criteria) this;
        }

        public Criteria andText3NotBetween(String value1, String value2) {
            addCriterion("text3 not between", value1, value2, "text3");
            return (Criteria) this;
        }

        public Criteria andText4IsNull() {
            addCriterion("text4 is null");
            return (Criteria) this;
        }

        public Criteria andText4IsNotNull() {
            addCriterion("text4 is not null");
            return (Criteria) this;
        }

        public Criteria andText4EqualTo(String value) {
            addCriterion("text4 =", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4NotEqualTo(String value) {
            addCriterion("text4 <>", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4GreaterThan(String value) {
            addCriterion("text4 >", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4GreaterThanOrEqualTo(String value) {
            addCriterion("text4 >=", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4LessThan(String value) {
            addCriterion("text4 <", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4LessThanOrEqualTo(String value) {
            addCriterion("text4 <=", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4Like(String value) {
            addCriterion("text4 like", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4NotLike(String value) {
            addCriterion("text4 not like", value, "text4");
            return (Criteria) this;
        }

        public Criteria andText4In(List<String> values) {
            addCriterion("text4 in", values, "text4");
            return (Criteria) this;
        }

        public Criteria andText4NotIn(List<String> values) {
            addCriterion("text4 not in", values, "text4");
            return (Criteria) this;
        }

        public Criteria andText4Between(String value1, String value2) {
            addCriterion("text4 between", value1, value2, "text4");
            return (Criteria) this;
        }

        public Criteria andText4NotBetween(String value1, String value2) {
            addCriterion("text4 not between", value1, value2, "text4");
            return (Criteria) this;
        }

        public Criteria andText5IsNull() {
            addCriterion("text5 is null");
            return (Criteria) this;
        }

        public Criteria andText5IsNotNull() {
            addCriterion("text5 is not null");
            return (Criteria) this;
        }

        public Criteria andText5EqualTo(String value) {
            addCriterion("text5 =", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5NotEqualTo(String value) {
            addCriterion("text5 <>", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5GreaterThan(String value) {
            addCriterion("text5 >", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5GreaterThanOrEqualTo(String value) {
            addCriterion("text5 >=", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5LessThan(String value) {
            addCriterion("text5 <", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5LessThanOrEqualTo(String value) {
            addCriterion("text5 <=", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5Like(String value) {
            addCriterion("text5 like", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5NotLike(String value) {
            addCriterion("text5 not like", value, "text5");
            return (Criteria) this;
        }

        public Criteria andText5In(List<String> values) {
            addCriterion("text5 in", values, "text5");
            return (Criteria) this;
        }

        public Criteria andText5NotIn(List<String> values) {
            addCriterion("text5 not in", values, "text5");
            return (Criteria) this;
        }

        public Criteria andText5Between(String value1, String value2) {
            addCriterion("text5 between", value1, value2, "text5");
            return (Criteria) this;
        }

        public Criteria andText5NotBetween(String value1, String value2) {
            addCriterion("text5 not between", value1, value2, "text5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}